﻿using System.Linq;
using Altairis.FluffyCloud.Data;

namespace Altairis.FluffyCloud.WebCore.Pages.Users {

    public partial class HomePage : DbPage {

        public IQueryable<User> UserList_GetData() {
            var q = from u in this.DbContext.Users
                    where u.IsApproved
                    orderby u.UserName
                    select u;
            return q;
        }
    }
}